<?php

namespace Modules\News\Entities;

use Illuminate\Database\Eloquent\Model;
use Modules\Wachat\Entities\Wxrule;

class Newsreply extends Model
{
    protected $fillable = ['data','rule_id'];

    public function rules(){
        return $this->hasOne(Wxrule::class,'id','rule_id');
    }
}
